<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
			<div class = "Owner">
				<a href = "${userUrls.home}" class = "Img">
					<img src="${userInfo.headImage}" alt="${userInfo.name}" title="${userInfo.name}" class = "LargePortrait"/>
				</a>
				<span class = "U">
					<a href = "${userUrls.home}" class = "Name" title = "${userInfo.sex}">${userInfo.name}</a>
					<span class = "opts">
						<img src = "${userInfo.sexImage}" title = "${userInfo.sex}" />
						<a href = "${userUrls.adminProfile}" >修改资料</a>
						<a href = "${userUrls.adminPortrait}" >更换头像</a>
					</span>
				</span>
				<div class = "clear"></div>
				<div class = "stat">
				<a href = "${userUrls.fellow}">关注<span>(${socialInfo.fellowsCount})</span></a>
				<a href = "${userUrls.fans}">粉丝<span>(${socialInfo.fansCount})</span></a>
				<a href = "#"></a>
				</div>
			</div>
			<div class = "Resume" id = "MyResume">
				<c:choose>
					<c:when test = "${!empty userInfo.label}">
						${userInfo.label}
					</c:when>
					<c:otherwise>
						这个人很懒，什么都没写
					</c:otherwise>
				</c:choose>
			</div>
			<script type="text/javascript" src="/js/jquery.editinplace.js"></script>
			<script>
				$("#MyResume").editInPlace({
					url: "/user/labelChange",
					bg_over: "none",
					bg_out: "none",
					field_type: "textarea",
					value_requred: "true",
					default_text: "这个人很懒，什么都没写",
					success: function(original_element, html, original) {
						$("#MyResume").html($("<div>" + original_element + "</div>").text());
					}, 
					error: function() {
						alert("修改个人简介失败");
					}
				});
			</script>
			<div class = "Opts clearfix">
				<a href = "${userUrls.adminNewBlog}" class = "a1 blog">
					<i>.</i>
					<span>发表博客</span>
				</a>
				<a href = "${userUrls.adminInbox}" class = "a2 admin">
					<i>.</i>
					<span>空间管理</span>
				</a>
			</div>